{% extends 'login/base.html' %}
{% block title %}主页{% endblock %}
{% block content %}
    {% if request.session.is_login %}
        <h1>你好,{{ request.session.user_name }}！欢迎回来！</h1>

        <h1><a href="../files/upload/" target="_blank">视频文件上传</a></h1>
        <h1><a href="../files/file_list/" target="_blank">视频结果列表</a></h1>
    {% else %}
        <h1>你尚未登录，请登录</h1>

    {% endif %}
{% endblock %}